package com.hualan.dao.impl;

import com.hualan.dao.CommunityDeleteDao;
import com.hualan.utils.C3p0Util;


/**
 * 删除小区
 */
public class CommunityDeleteDaoImpl implements CommunityDeleteDao {

    @Override
    public int deleteCommunity(int communityId) {
        String sql = "delete from panghu_community where community_id = ?";
        int row = C3p0Util.update(sql, communityId);
        return row;
    }
}
